package com.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TSpecial entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_Special", schema = "")
public class TSpecial implements java.io.Serializable {

	// Fields

	private String id;
	private String schoolmateId;
	private String schoolmateName;
	private String schoolmateSex;
	private Date schoolmateBorn;
	private String schoolmateCollege;
	private String isSpecial;
	private String schoolmateType;

	// Constructors

	/** default constructor */
	public TSpecial() {
	}

	/** minimal constructor */
	public TSpecial(String id) {
		this.id = id;
	}

	/** full constructor */
	public TSpecial(String id, String schoolmateId, String schoolmateName, String schoolmateSex, Date schoolmateBorn, String schoolmateCollege, String isSpecial,String schoolmateType) {
		this.id = id;
		this.schoolmateId = schoolmateId;
		this.schoolmateName = schoolmateName;
		this.schoolmateSex = schoolmateSex;
		this.schoolmateBorn = schoolmateBorn;
		this.schoolmateCollege = schoolmateCollege;
		this.isSpecial = isSpecial;
		this.schoolmateType=schoolmateType;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "schoolmateID")
	public String getSchoolmateId() {
		return this.schoolmateId;
	}

	public void setSchoolmateId(String schoolmateId) {
		this.schoolmateId = schoolmateId;
	}
	
	@Column(name = "schoolmateType")
	public String getSchoolmateType() {
		return this.schoolmateType;
	}

	public void setSchoolmateType(String schoolmateType) {
		this.schoolmateType = schoolmateType;
	}

	@Column(name = "schoolmateName")
	public String getSchoolmateName() {
		return this.schoolmateName;
	}

	public void setSchoolmateName(String schoolmateName) {
		this.schoolmateName = schoolmateName;
	}

	@Column(name = "schoolmateSex")
	public String getSchoolmateSex() {
		return this.schoolmateSex;
	}

	public void setSchoolmateSex(String schoolmateSex) {
		this.schoolmateSex = schoolmateSex;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "schoolmateBorn", length = 10)
	public Date getSchoolmateBorn() {
		return this.schoolmateBorn;
	}

	public void setSchoolmateBorn(Date schoolmateBorn) {
		this.schoolmateBorn = schoolmateBorn;
	}

	@Column(name = "schoolmateCollege")
	public String getSchoolmateCollege() {
		return this.schoolmateCollege;
	}

	public void setSchoolmateCollege(String schoolmateCollege) {
		this.schoolmateCollege = schoolmateCollege;
	}

	@Column(name = "isSpecial")
	public String getIsSpecial() {
		return this.isSpecial;
	}

	public void setIsSpecial(String isSpecial) {
		this.isSpecial = isSpecial;
	}

}